<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
<script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.min.js"></script>
    <script>
        <!--"use strict";-->

        <!--var x ="xxx";-->
        <!--window.alert(x);-->
        <!--var old_alert=window.alert;-->

        <!--window.alert=function(){};-->
        <!--window.alert(123);-->

        <!--window.alert=old_alert;-->
        <!--window.alert(456);-->

        <!--function aaa(){-->
            <!--for(let i=0;i<100;i++){-->
                <!--console.log(i);-->
            <!--}-->
        <!--console.log(i+1);-->
        <!--}-->

    </script>
</head>
<body>

<form action="http://47.93.162.249:9000/" method="get" onsubmit="return aaa()">
    <p>
        <span>用户名：</span> <input type="text" id="username" name="username">
    </p>
    <p>
        <span>密码：</span> <input type="password" id="i_password" name="i_password">
    </p>

    <button type="submit">提交</button>
</form>

<script>
    function aaa(){
    alert(1);
        var uname=document.getElementById("username");
       var pwd=document.getElementById("i_password");

console.log(uname);
console.log(pwd);
       return true;
    }
</script>

</body>
</html>